﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

namespace Adaptive.Foundation.CodeDom.Native
{
    [ComImport, Guid("82871589-D680-4D86-B969-9D1102B00F6F"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    internal interface IVsSelectionEvents
    {
        void OnSelectionChanged(IVsHierarchy pHierOld, int itemidOld, [MarshalAs(UnmanagedType.Interface)] object pMISOld, ISelectionContainer pSCOld, IVsHierarchy pHierNew, int itemidNew, [MarshalAs(UnmanagedType.Interface)] object pMISNew, ISelectionContainer pSCNew);
        void OnElementValueChanged(int elementid, [MarshalAs(UnmanagedType.Struct)] object objValueOld, [MarshalAs(UnmanagedType.Struct)] object objValueNew);
        void OnCmdUIContextChanged(int dwCmdUICookie, int fActive);
    }
}
